<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.d1 {
				width: 100px;
				height: 100px;
				background-color: #00FFFF;
				transform-origin: bottom right;
				/* transition: transform 2s; */
				transition-property: transform background-color;
				transition-duration: 2s;
				transition-timing-function: ease-in-out;
			}
			
			.d1:hover {
				/* width: 300px; */
				transform: rotate(180deg);
				background-color: red;
			}
		</style>
	</head>
	<body>
		<div class="d1">
			
		</div>
	</body>
</html>
